/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.accept.AcceptInData;
import com.gys.data.replenish.GetReplenishInData;
import com.gys.data.replenish.StoreInData;

public class ReplenishUtil {
    public static HttpJson selectList(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/list", JSON.toJSONString(param));
    }

    public static HttpJson detailList(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/detailList", JSON.toJSONString(param));
    }

    public static HttpJson getDetail(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getDetail", JSON.toJSONString(param));
    }

    public static HttpJson getStock(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getStock", JSON.toJSONString(param));
    }

    public static HttpJson getCost(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getCost", JSON.toJSONString(param));
    }

    public static HttpJson getSales(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getSales", JSON.toJSONString(param));
    }

    public static HttpJson getParam(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getParam", JSON.toJSONString(param));
    }

    public static HttpJson getStore(StoreInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/auth/store/getStoreById", JSON.toJSONString(param));
    }

    public static HttpJson getVoucherAmt(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getVoucherAmt", JSON.toJSONString(param));
    }

    public static HttpJson getCount(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/getCount", JSON.toJSONString(param));
    }

    public static HttpJson approve(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/approve", JSON.toJSONString(param));
    }

    public static HttpJson insert(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/insert", JSON.toJSONString(param));
    }

    public static HttpJson productList(AcceptInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/productSortSetting/queryProVo", JSON.toJSONString(param));
    }

    public static HttpJson isRepeat(GetReplenishInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/replenish/isRepeat", JSON.toJSONString(param));
    }
}

